<include file="head" />
<style type="text/css">
.postiontop { border: solid 1px #d9d9d9; position: absolute; z-index: 50; width: 70%; background-color: #fff; border-radius: 3px; top: 30%; left: 20%; padding: 8px 10px; padding-top: 12px; padding-bottom: 20px; display: none; }
.postiontop h4 { font-size: 14px; line-height: 20px; font-size: 12px; text-align: center }
.postiontop .entersubmit { border: solid 1px #fa6f57; height: 24px; line-height: 24px; background-color: #fff; color: #333; border-radius: 30px; padding: 0px 10px; }
.postiontop div { position: relative; }
.postiontop div .closep { font-size: 12px; color: #fff; display: block; clear: both; position: absolute; z-index: 100; right: 0px; top: -15px; background-color: #f00; border-radius: 20px; width: 16px; height: 16px; text-align: center; line-height: 16px; cursor: pointer; }
.postiontop div span { display: block; clear: both; text-align: center; }
.postiontop div span a { border: solid 1px #fa6f57; font-size: 12px; border-radius: 10px; padding: 2px 10px; color: #333; }
.fine_xmg h3 { color: #d72825; font-size: 16px; }
.fine_xmg h3 a{color:#333;}
.fine_xtxt { overflow: hidden; height: 36px; }
.thislist { background-color: #fff; padding: 0px 10px; margin-top: 8px; }
.thislist a { display: block; clear: both; overflow: hidden; border-bottom: solid 1px #ccc; padding-bottom: 10px; padding-top: 10px;}
.thislist a:last-child { border-bottom: none; }
.thislist a span { display: block; float: left; }
.thislist a span.timg { width: 25%; }
.thislist a span.ttxt { width: 65%; margin-left: 6px; }
.thislist a span.timg img { width: 100%; }
.thislist a span.ttxt h3, p, em { display: block; clear: both; }
.thislist a span.ttxt h3 { height: 26px; line-height: 26px; color: #d72825; font-size: 14px; overflow: hidden; margin: 0px; padding: 0px; list-style: none; }
.thislist a span.ttxt p { font-size: 12px; color: #666; height: 50px; overflow: hidden; line-height: 16px; }
.thislist a span.ttxt em { font-size: 12px; height: 24px; line-height: 24px; color: #999; }
.thislist a span.ttxt em img { width: 20px; padding-left: 10px; margin-top: 5px; }
.hd_icn2 { line-height: 40px; }
.hd_icn2 img { vertical-align: middle; margin-top: -5px; padding-right: 3px; }
.thislist{padding:0px;}
.thislist a{position:relative;}
.thislist a .timg{margin-left:10px;}
.thislist a span.ttxt{width:60%;}
.thislist a span.ttxt p{height:30px; margin-bottom:5px;}
.thislist a b{display:block; position:absolute; background:url(/IndexPublic/images/typebj.png) no-repeat top right; background-size:contain; right:-10px; top:0px; width:52px; height:52px; color:#fff;}
.thislist a b i{display:block; font-size:12px; margin-left:14px; line-height:22px; transform: rotate(45deg); margin-top:8px;}
.shoplink{clear:both; overflow:hidden; height:24px; line-height:24px; padding:10px; color:#d72825; font-size:15px; background:url(__IMG__/rightjt.png) no-repeat right center; background-size:auto; background-color:#fff; margin-top:10px;}
.sbcode{background-color:#fff; margin-top:10px; clear:both; text-align:center; padding:20px 0px;}
.sbcode img{width:60%; padding:6px 15px; border-radius:5px; box-shadow:0px 0px 2px #ccc;}
.browersmore{display:block; clear:both; overflow:hidden; text-align:center; font-size:14px; color:#666; line-height:30px; cursor:pointer;}
.browersmore img{width:18px;}
.head a.hd_icn2 img{margin-top:12px;}
label{display:block; clear:both; margin-top:5px;}
label.zhankai{font-size:14px; text-align:center; color:#666;}
</style>
<script type="text/javascript">
$(function(){
	$("label.zhankai").click(function(){
		if($(this).html() == "展开"){
			$(this).html("收起");
			$(".fine_xtxt").css({"height":"auto"});
		}else{
			$(this).html("展开");
			$(".fine_xtxt").css({"height":"36px"});
			
		}
	})
})
</script>
<!--wrap-->
<section class="wrap"> 
  <!--head-->
  <header class="head">
    <h1>{$typeReuslt.typename}</h1>
    <a href="{$home}" class="hd_icn">首页<em></em></a>
    <if condition="$Think.cookie.user_userinfo eq ''">
    <a href='http://pay.hrtv.cn/user/chatauth?rurl=http://my.hrtv.cn/Public/login.html?url={$home}' class='hd_icn2'>登录</a>
    <else />
    <a href="http://e.hrtv.cn/uc/user/index" class='hd_icn2'><img style="width: 18px;" src="http://e.hrtv.cn/uc/assets/images/p_personalr.png"></a>
    </if>
  </header>

  <assign name='getid' value="$Think.get.id" />
  <volist name='articleReuslt' id='article'>
  <if condition="$article.menuid eq $getid">
  	 	<if condition="stripos($article['extendattr'],'c') nheq false">
		  <section class="vodeo_box" id="video"> 
		  	<if condition="$article.videopath eq ''">
		    <section class="nvse" id="video1"><a href="{:U('Article/index',array('id'=>$article['id']))}"><img src="{$article.thumbimg}"> <i></i></a></section>
			<else />
		    <section class="video" id="video2" > 
		      {:W('Data/getvideo',array('str'=>$article['videopath']))}
		    </section>
		    </if>
		  </section>
		  <section class="pack_box">
		    <section class="fine_box tips_tbor">
		      <section class="fine_xmg">
		        <h3><a href="{:U('Article/index',array('id'=>$article['id']))}">{$article.title}</a></h3>
		        <p>
		          <time>发布时间：{$article.pubdate}</time>
		        </p>
		      </section>
		      <if condition="$article.description neq ''"><section class="fine_xtxt">{$article.description}</section></if>
		      <label class="zhankai" v='0'>展开</label>
		    </section>
		  </section>
	  </if>
  </if>
  </volist>
  
  <!--增加-->  
  <div class="shoplink" onclick="location.href='http://e.hrtv.cn/ehrtv/company/shopitem?id={$domainid}';">限时低价，立即抢购</div>
  
  <section class="thislist">
  	  <assign name='getid' value="$Think.get.id" />
  	  <volist name='articleReuslt' id='article'>
  	  <if condition="$article.menuid eq $getid">
		<if condition="stripos($article['extendattr'],'c') nheq false">
		  <else />
	      <a href="{:U('Article/index',array('id'=>$article['id']))}">
	      	  <span class="timg"><img src="{$article.thumbimg}"></span>
			  <span class="ttxt">
			  <h3>{$article.title}</h3>
	          <p>{$article.description}</p>
	          <em>{$article.pubdate}</em>
	          <if condition="$article.rtype neq 0">
	          <b><i>{:W('Data/rtypename',array('tid'=>$article['rtype']))}</i></b>
	          </if>
	          </span>
	      </a>
		</if>
      </if>
      </volist>
      <!-- <span class="browersmore">查看更多 <img src="__IMG__/smore.png"></span> -->
  </section>
  <div class="sbcode">
  	<img src="__IMG__/sbcode.jpg">
  </div>
  
</section>
<!--wrap over--> 
<script type="text/javascript">
    $(function () {
//         $("#video").click(function () {
//             var video1 = $("#video1");
//             var video2 = $("#video2");
//             if (video1.css("display") == "block") {
//                 video2.show();
//                 video1.hide();
//             }
//         })
    });
</script>
<include file="footer" />
